package com.zh.admin.user.service.Impl;

import com.zh.admin.user.dao.AdminDao;
import com.zh.admin.user.service.AdminService;
import com.zh.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminDao adminDao;

    @Override
    public User login(User user) {
        return adminDao.login(user);
    }

    @Override
    public void logout() {

    }
}
